<?php
$mod_title="вход";
$mod_status="on";
if($mod_status=="on")
{
function mod_body($auth,$adminauth)
{
include "server_config.php";
if($auth=="ok")
{
echo "
<html>
<head>
<meta http-equiv='Refresh' content='0;URL=index.php?do=game/index'>
</head>
</html>
";
}
else
{
echo "
<html>
<head>
<meta http-equiv='Refresh' content='0;URL=index.php?do=login'>
</head>
</html>
";
}
}
}
else
{
function mod_body($auth,$adminauth)
{
echo "мод выключен администратором!<br>";
}
}
?>